.ui-img-fill {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    overflow: hidden;
}